package com.xf.lastmall.moudle.exception;

/**
 * Created by wangzhaoqian5 on 2018/8/8.
 */
public class OrderVerifyException extends  RuntimeException{
    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么).
     */
    private static final long serialVersionUID = 1L;

    public final static String FAILED_CODE = "-11";

    private String errCode = FAILED_CODE;
    private String errMsg;

    public OrderVerifyException(Throwable cause) {
        super(cause);
    }

    public OrderVerifyException(String message, Throwable cause) {
        super(message, cause);
    }

    public OrderVerifyException() {
        super();
    }

    public OrderVerifyException(String errCode, String errMsg) {
        super(errMsg);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public OrderVerifyException(String errMsg) {
        super(errMsg);
        this.errMsg = errMsg;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
